package com.example.phoneshop.dao;

import com.example.phoneshop.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface UserDao {
    User findUserByPhone(String phone);
    int insertUser(Map map);
    User findUserByEmail(String email);
    List<Map> findUserAll();
    int delete(int id);

}
